function x = doitall()
files = dir('*.jpg');
centers = zeros(2,size(files, 1));
for i = 1:size(files, 1)
    str = doit(imread(files(i).name));
    centers(:,i) = str.Centroid;
end
x = centers;